#region Using directives
using System;
using System.Data;
using WP.Commons;
#endregion

namespace WP.MF.DataEntity
{
	//=========MRemitTo  ============================
	[System.ComponentModel.DesignerCategory("Code")]
    public class MRemitToDEL : DataSet, IDataEntity
	{
		//=========MRemitTo ============================
		public const string TABLENAME_MREMITTO="MRemitTo";
		public const string RECID="RecId";
		public const string RECSTAMP="RecStamp";
		public const string REMITTONO="RemitToNo";
		public const string STREET="Street";
		public const string CITY="City";
		public const string PROVNO="ProvNo";
		public const string POSTALCODE="Postalcode";
		public const string COMPANYNAME="CompanyName";
        private System.Collections.Specialized.NameValueCollection mVarCollection = new System.Collections.Specialized.NameValueCollection();
        public System.Collections.Specialized.NameValueCollection VarCollection
        {
            get { return mVarCollection; }
            set { mVarCollection = value; }
        }

		public MRemitToDEL()
		{
			//CreateMRemitTo structure
			CreateMRemitToStructure();
		}

		private void CreateMRemitToStructure()
		{
			DataTable table;
			DataColumnCollection DCC;
			DataColumn DC;
			table=new DataTable(TABLENAME_MREMITTO);
			DCC=table.Columns;

			DC=new DataColumn(RECID,typeof(System.Int32 ));
			DCC.Add (DC);

			DC=new DataColumn(RECSTAMP,typeof(System.Byte[]));
			DCC.Add(DC);

			DC=new DataColumn(REMITTONO,typeof(System.String));
            DC.MaxLength = 3;
			DC.DefaultValue="";
			DCC.Add (DC);

			DC=new DataColumn(STREET,typeof(System.String));
            DC.MaxLength = 60;
			DC.DefaultValue="";
			DCC.Add(DC);

			DC=new DataColumn(CITY,typeof(System.String));
            DC.MaxLength = 30;
			DC.DefaultValue="";
			DCC.Add(DC);

			DC=new DataColumn(PROVNO,typeof(System.String));
            DC.MaxLength = 5;
			DC.DefaultValue="";
			DCC.Add(DC);

			DC=new DataColumn(POSTALCODE,typeof(System.String));
            DC.MaxLength = 10;
			DC.DefaultValue="";
			DCC.Add(DC);

			DC=new DataColumn(COMPANYNAME,typeof(System.String));
            DC.MaxLength = 35;
			DC.DefaultValue="";
			DCC.Add(DC);

			this.Tables.Add(table);
		}
		
	}
}

